package edu.zut.pioneer.stock.impl;

import edu.zut.pioneer.base.service.impl.BaseManagerImpl;
import edu.zut.pioneer.stock.StockManager;
import edu.zut.pioneer.stock.dao.StockDao;
import edu.zut.pioneer.stock.domain.Stock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("stockManager")

public class StockManagerImpl extends BaseManagerImpl<Stock,Long> implements StockManager {
    StockDao stockDao;

    @Autowired
    public void setStockRep(StockDao stockDao) {
        this.stockDao = stockDao;
        this.dao = this.stockDao;
    }

}

